package com.sky.service;

import com.sky.dto.DishDTO;
import org.springframework.stereotype.Service;
import com.sky.dto.DishPageQueryDTO;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import java.util.List;

public interface DishService {
    void saveWithFlavor(DishDTO dishDTO);

    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void delete(Long[] ids);

    DishVO getByWithFlavorId(Long id);

    void updateWithFlavor(DishDTO dishDTO);

    List<DishVO> list(Long aLong);

    void startOrStop(Integer status, Long id);
}